Under New York Law, both crimes deal with being somewhere you are not authorized to be. Criminal Trespass is the simple act of being in that location. Burglary is the act of being in that location with the intent to commit a crime. This small, but important difference drastically increases the seriousness of a potential charge.