The loach is very easy to raise fish, it belongs to the loach family, is a benthic species, usually just like to stay underwater immobile. When the air pressure gets low and the air is a bit stuffy, it feels uncomfortable in the water and will often go to the surface to breathe the air directly, which is the reason why it sometimes rolls over and is irritable.
There shouldn't be any problem keeping loaches in the toilet.