Can the president be prosecuted for war crimes in the event of a nuclear strike?

Can the president be prosecuted for war crimes in the event of a nuclear strike?