Technically, yes. But it may not be a good idea. You will need to declare it, because it's over $10000. And you will have to explain to the officer why you are carrying $1M. If they don't believe your explanation, they will take the money from you.

Only top voted, non community-wiki answers of a minimum length are eligible