Yeah, you'd get busted. NY state has some of the stiffest penalties for marijuana presently. Just made level for medicinal purposes in January 2014. It's my understanding, however, that the medical marijuana distribution is heavily controlled (not like CA).
Here in Vermont it is decriminalized. You can have up to 2 ounces in your house for personal use, and can grow up to 6 female plants legally. Walk out in your front lawn smoking a joint, however, will get you arrested.