The Transportation Security Administration (TSA) keeps the full list of acceptable forms of ID for domestic flights on its official website, including the passport, whether U.S. or foreign-issued.
That means at John F. Kennedy International Airport (JFK), Los Angeles International Airport (LAX), Miami International Airport (MIA) and other airports that operate domestic flights, this document can be presented even if it is no longer valid for ID purposes, as long as it does not exceed the allowed expiration limit.