Marijuana has been legal to use and possess in New York State for nearly 3 years. There are still plenty of restrictions but a major one is about to go away.
If you get stopped and are believed to be under the influence, you likely face a field sobriety test. Then, a more definitive test to determine what substances are in your system.