It's like the old laws that only married couples were legally permitted to obtain contraceptives. Maybe this legislator is really trying to keep unmarried people from having these devices.
I don't know--with the ease of purchasing these things on the Internet, if that's his purpose, I doubt it will be too successful.
More likely, he's just trying to get rid of these stores, which don't exactly attract the most upstanding people. Say what you want, the 2006 Times Square is a lot better place to visit than the pre-1990s Times Square that was filled with crooks, bums, and porn shops.