I'm running the following code in an attempt to find every living unit on the map:

Code:
FindUnitsInRadius(DOTA_TEAM_NOTEAM, Vector(0, 0, 0), nil, FIND_UNITS_EVERYWHERE, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_ALL, DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD, FIND_ANY_ORDER, false)
However, despite DOTA_UNIT_TARGET_FLAG_OUT_OF_WORLD being included, units affected by spells such as Puck's Phase Shift or OD's Astral Imprisonment are not found by this code. One somewhat silly possibility is that these spells place the unit so far out of bounds that they're not in range even when using FIND_UNITS_EVERYWHERE. Regardless, from what I can tell, this flag does not seem to be working as it should.