Huh?
Marx, as far as I know, was an internationalist, and his (undiluted) philosophy was definitely anti-nationalistic.
Ever hear of Socialist International? They and their ilk are strident opponents of immigration controls, which they see as "racist."
In fact, it is through increased immigration that Marxists hope to finally achieve their goal of making the U.S. a socialist nation.