As far as I’m aware, they still allow you to use a passport that expired up to two years ago on domestic flights. On international flights, it’s a totally different matter. If you have an in-date passport or any other type of photographi ID (such as a driving licence) then you’re safer to use that. From what I remember of my domestic flights, security don’t ask to see your ID, it is only required at check in.