Codes of law aren't software. It's not a loophole, it's just an overly naive interpretation of what the law says based on your layperson understanding and applying programmer logic to non-software.
If you explicitly don't accept applicants only from select neightborhoods that all just "happen to" be almost all-black, you're still discriminating by race and it's still obvious and obviously illegal. You'll just waste more of everyone's time in court.
Just look at sovereign citizens and their inane shenanigans like "I'm not driving, I'm traveling by car and therefore don't need a driver's license and can ignore speed limits".
"I don't discriminate by age, only by gray hair!"
"I don't discriminate by sex, it's just that we have a no-birthing-kids culture!"
Um, no.