One of our military bases located anywhere in the world is considered to be American territory.
McCain was born in Panama, NOT on the base in the Canal Zone.