We propose a method for quantum nondemolition (QND) measurement of one component of spin by the measurement of polarization rotation of the off-resonant light induced by a paramagnetic Faraday rotation effect. We show that nonclassical states of spins such as the squeezed spin state, the Dicke state, and macroscopic quantum superposed state of spin can be realized corresponding to particular results of QND measurements. Furthermore, it is shown that a nonclassical state of light such as the twin photon state can also be realized with this method.