Burglary is trespass PLUS an additional criminal act. The intent to commit a criminal act must have been formed before the trespass for the charge of burglary to be proven.
There are different punishments for different fact patterns. Burglary of an occupied dwelling at night with a weapon can be a life felony.
Burglary of an unoccupied building or car is a lesser felony.
To convict someone of burglary the state must prove: