Instead, I think a better metric is the number of people who move to X vs. those who want and can afford to move to X, but are prevented because of a non-reciprocal policy by X.
(I'm fine with some restrictions - nearly all countries have some restrictions; Svalbard, Norway being one of the rare exceptions. The above is a hand-wavy way of trying to not get stuck on that detail. The main point is that free movement of people/labor should be like the free movement of money/capital.)
Think back to Jim Crow era US. Blacks may want to move to region of town but not allowed by deed restriction. While whites could move to the few areas of town "red-lined" for blacks, with no legal prohibition. They didn't - quite the opposite, in a process known as "white-flight."
(Some blacks, particularly wealthy ones, could also move out, as well as black people who were employed as help for white families.)
So, just because non-white regions have near-zero white immigration doesn't mean that they are "closed, gated" and the the white areas are not. Which suggests that your interpretation isn't a useful way of understanding what "closed, gated" means.
There's also the physical dimension. Quoting the text:
> At the end of the Cold War, there were just 15 walls separating countries from each other. Now there are at least 70 walled borders worldwide. Since the fall of the Wall, thousands of miles of steel and concrete walls have gone up on international borders.