In Illinois, burglary is defined by 720 ILCS 5/19-1 as the crime a person commits when without authority he or she knowingly enters or without authority remains within a building, housetrailer, watercraft, aircraft, motor vehicle, railroad car, or any part thereof, with intent to commit therein a felony or theft