In this paper, we use the Bell inequality to study the bipartite correlation in an exactly soluble two-dimensional Ising-Heisenberg spin system. The Bell inequality can detect not only the quantum phase transition, but also the thermal phase transitions, or the system. The property or bipartite correlation in the system is also analyzed. In the quantum anti-ferromagnetic phase, the Bell inequality is violated thus nonlocality is present. It is interesting that the nonlocality is enhanced by thermal fluctuation, and similar results have not been observed in anti-ferromagnetic phases. In the fer...