Any person who (a) otherwise than in accordance with the provisions of this Act receives or detains a lunatic or alleged lunatic in an asylum, or (b) for gain detains two or more lunatics in any place not being an asylum, shall be punishable with imprisonment which may extend to two years or with fine or with both. ...