Mental institution vs community

I guess when you are in a mental institution, it is more about creating a community around it. This community can include the same principles as each race and personalities would have the similar principles as the law and rules.