An analytic theory of toroidal equilibrium in the ZT-40M reversed-field pinch is presented, including effects of iron cores and resistive shell. The iron cores alter the form of the equilibrium condition and cause the equilibrium to be unstable towards horizontal or vertical displacements on the shell resistive time-scale.