Section 1. Any town may erect or provide and maintain an infirmary for persons in need. No town shall erect or maintain an infirmary wholly or in part within the limits of any other town without its consent.