Firing a nuclear weapon is never down to one individual, no matter how powerful they are.
They can give the order but the order can be ignored. It is also up to the discretion of the military in charge at the time. Funnily enough, it happened twice, in 1963 and 1983...