By definition, an expired passport isn't valid. That said, if it's all you have, you should still bring it if you're traveling within the United States. You can get on a domestic flight without valid identification IF you can convince the TSA that you are who you say you are, and an expired passport might help.