N.Y. Domestic Relations Law § 18
Clergymen or officer, when protected
Any such clergymen or officer as aforesaid to whom any such license duly issued may come and not having personal knowledge of the incompetency of either party therein named to contract matrimony, may lawfully solemnize matrimony between them.