It's interesting that Franklin D. Roosevelt in all of his elections won New York with a narrower margin than nationwide and just a few counties outside the city. Especially 1940 was pretty close and Willkie won almost everything in Upstate.
It’s also a bit interesting that FDR lost Queens in the latter two of the four presidential elections that he won. Then Truman lost it. But Adlai Stevenson and George McGovern have been the only Queens-losing Democrats since then.
In the 1940s, lots of Queens was still barely developed, much less urban than Staten Island is today. Not super surprising.