Found this in a Newsweek article from March 2021, JaneJeffers:
People in New York can now smoke marijuana in many public places without fear of the consequences, but, as is the case with cigarettes, there are restrictions on where a person can smoke.
Governor Andrew Cuomo signed legislation on Wednesday that legalizes recreational marijuana in the state of New York. It's the 15th state to enact the measures and, along with expunging records, it makes it legal for people to smoke marijuana in places that aren't already prohibited.
People over age 21 can smoke marijuana wherever smoking tobacco is allowed under the Clean Indoor Air Act. Smoking tobacco is prohibited in almost all public and private indoor workplaces, including restaurants and bars, mass transportation, public transportation terminals, schools, colleges and universities, hospitals, indoor arenas and zoos.
While legalization is statewide, the legislation allows local leaders to implement further restrictions on where marijuana can be smoked, so it's important to keep up with local laws, as well.
So yes you are right, probably lots of illegal weed smoking under the Clean Indoor Air Act going on in that episode.