Massachusetts has an Anti-Idling Law for vehicles. You may not idle your car engine for more than 5 minutes unless it is "necessary": i.e. you are making a delivery, the vehicle is being serviced, or the vehicle is being prepared for safe driving.
FAQ's from the MA Department of Environmental Protection.