The Fifth Missile 1986
The crew of a Polaris submarine, on a training mission simulating an attack on Russia, is stricken by toxic poisoning. One of the poison's effects is to make its victims hallucinate, and the sub's captain imagines that he has been given an order to actually attack Russia. He prepares to do exactly that.