Actually, it's just kind of extrapolating ignorance.
The Bill of Rights -- as anyone who was paying attention in US Government class can tell you -- does not only apply to US citizens.
None of the Guantanamo detainees are "literally charged with bearing arms to resist the US government." They are literally charged with offenses such as providing material support for terrorism, murder, conspiracy, piracy, et al -- crimes which exist in most every jurisdiction worldwide and in international law.
Of course, while we were rounding up Japanese from potential invasion areas, the British had already largely completed arresting, relocating or interning German nationals living in proximity to their invasion beaches. Also interned or at least arrested were those foolish enough to speak out about it as well as most anyone who continued participating in the various organized fascist parties in Britain.