In Illinois, it is crime to possess an open container of alcohol in a motor vehicle, underĀ 625 ILCS 5/11-502:
Open Container
Open Containers in Motor Vehicle Charges in Iowa
Under Iowa Code Section 321.284, it is unlawful to have an open alcoholic beverage container in the passenger compartment of a motor vehicle