N.Y. Penal Law § 140.05
A person is guilty of trespass when he knowingly enters or remains unlawfully in or upon premises. Trespass is a violation.