N.Y. Civil Service Law § 53
Except as otherwise provided by law, no alien lawfully admitted for permanent residence in the United States shall be denied appointment to a position in the competitive class of civil service for reasons of alienage.