It says "well-regulated Militia". It does not say "state Militia". There was no requirement in US vs Miller that Miller be a member of a state militia. Miller was one of the people protected by the Second Amendment. The arms of the people are the arms which will always be available to the Militia, regardless of tyrannical governments.
Just as there was no statement that he need not be a member. The case never proceeded that far.