Magnetic topological materials, in which the time-reversal symmetry is broken, host various exotic quantum phenomena, including the quantum anomalous Hall effect, axion insulator states, and Majorana fermions. The study of magnetic topological materials is at the forefront of condensed matter physics. Recently, a variety of magnetic topological materials have been reported, such as Mn$_3$Sn, Co$_3$Sn$_2$S$_2$, Fe$_3$Sn$_2$, and MnBi$_2$Te$_4$. Here, we report the observation of a topological electronic structure in an antiferromagnet, HoSbTe, a member of the ZrSiS family of materials, by angle-resolved photoemission spectroscopy measurements and first-principles calculations. We demonstrate that HoSbTe is a Dirac nodal line semimetal when spin-orbit coupling (SOC) is neglected. However, our theoretical calculations show that the strong SOC in HoSbTe fully gaps out the nodal lines and drives the system to a weak topological insulator state, with each layer being a two-dimensional topological insulator. Because of the strong SOC in HoSbTe, the gap is as large as hundreds of meV along specific directions, which is directly observed by our ARPES measurements. The existence of magnetic order and topological properties in HoSbTe makes it a promising material for realization of exotic quantum devices.