The term militia refers to all those citizens who are eligible for military service. If he were to look at Switzerland, he would have a better understanding of what well-regulated means.
From what I understand, “well-regulated” in the English of the day was equivalent to “well-trained.”