For Forty Years During Mid Last Century Zero Immigration Allowed so Were All Those Politicians Then Racists?

During the presidencies of FDR and JFK. there was zero legal immigration allowed into the United States, from the mid 1920’s to the mid 1960’s, so were those Democrats racists?