In this paper, we prove that the zero-divisor graph I^(P) of a Boolean poset P is both well-covered and Cohen--Macaulay. Furthermore, for a poset P=∏i=1nPi(n≥3), where each Pi is a finite bounded poset satisfying Z(Pi)={0} for all i, and ≤∣P1∣≤∣P2∣≤⋯≤∣Pn∣, we show that the zero-divisor graph I^(P) is Cohen--Macaulay if and only if P is a Boolean lattice.