More immigrants came to the North rather than the South and had far more immigrants in its army. Democrats were prone to violence back then, too.
Immigrants made up about 25% of the Union Army. Germans followed by the Irish made up most of the immigrants in the Union Army.