My experience is vastly different. Monoethnic teams reinforce the us vs them mentality. I have seen it too many times to dismiss it as just an unlucky coincidence.
Being in a team where people are black or have vaginas is devoid of any value to me. And I tend to leave any companies that seek to optimize these criteria because I find the idea of hiring based on gender, sexual organs or racial consideration to be intellectually insulting.