N.Y. Penal Law § 150.00
As used in this article, 1. "Building", in addition to its ordinary meaning, includes any structure, vehicle or watercraft used for overnight lodging of persons, or used by persons for carrying on business therein. Where a building consists of two or more units separately secured or occupied, each unit shall not be deemed a separate building.