Not in WWII. It was American but only in a continental sense. And territory maybe? Have to look up what it was before a state.
1958 for Alaska and Hawaii. Believe it or not, there was serious discussion on whether this was a good idea.
There were some submarine attacks on the east coast. IIRC, ferris wheel lights were a favorite target. There were also submarine attacks in California, an oilfield. In New York and Florida, some germans were dropped off as saboteurs. The germans also setup a weather station in Canada to help the submarines, they even dropped American cig butts to disguise it, just recently discovered.