I don't know about NY, but in PA it's legal to spotlight deer *from the road* from sunrise to 11 p.m. Other restrictions are it has to be outside of firearms deer season, no lighting up buildings or livestock, and person spotlighting can not be armed (licensed CC is ok).
Personally, I don't do it because I think it's intrusive and rude without getting landowner permission first. Also, with today's fairly inexpensive trail cameras, there's no need for spotlighting--unless they're planning on trespassing and poaching.