That is correct, you should only present a U.S. passport while within the U.S., whether entering or leaving. If boarding a flight, while situate in the U.S., requires a foreign passport, then you should present both passports to the airline. But at TSA and other airport checkpoints (before...