SHELTER indicates that it's an HMO if three or more unrelated people live there as at least two separate households – for example, three single people with one room each, or two couples with one room per couple- and they share basic amenities such as a kitchen or bathroom.
Best to check with your Local Housing Authority, esp. as some locations have (extra) compulsory landlord-licensing requirements irrespective of the type of property.