Any city or town in this State having a population of not less than one thousand inhabitants and not more than five thousand, according to the 1940 census of the United States, may establish, construct, operate and maintain a municipal hospital, either within or without its corporate limits, and issue bonds and levy taxes for that purpose.