N.Y. Civil Service Law § 105
1. Ineligibility of persons advocating overthrow of government by force or unlawful means. No person shall be appointed to any office or position in the service of the state or of any civil division thereof, nor shall any person employed in any such office or position be continued in such employment, nor shall any person be employed in the public service as superintendent, principal or teacher in a public school or academy or in a state college or any other state educational institution who: