There is a strong positive relationship between the foreign-born population share and Trump's gain

Change in the Republican vote share versus the immigrant population share

Source: EIG analysis of US Election Atlas data and ACS 5-year data. Immigrant populations are for 2022, the most recently available data. Points sized by 2023 population.