(a) A person is guilty of aiding escape from a hospital or sanatorium when he aids the escape from a hospital or sanatorium of any person committed thereto as mentally ill or as drug dependent.
(b) Aiding escape from a hospital or sanatorium is a class A misdemeanor.