The Idaho House passed legislation Monday that would criminalize the use of bathrooms not matching a person's biological sex.