Michael Feeney from Bay Shore was recognized for his role in helping crack the Nazi's infamous Enigma code.
Enigma machines were used by the Nazis to securely send messages.
Congressman Peter King and Legislator Tom Cilmi visited Mr. Feeney in his room at Southside Hospital to present him with an award for his military service.
Feeney said he never expected Friday's honor.
He has been a patient at the hospital since January, but says he hopes to be able to go home soon.