Any person who enters or remains in an unoccupied structure, other than a motor vehicle, with intent to commit any crime, unless the premises are, at the time, open to the public or the person is licensed or privileged to enter or remain, is guilty of third degree burglary. Third degree burglary is a Class 5 felony.
SDCL 22-32-8