Is carbon monoxide a heterogeneous mixture?

No, carbon monoxide is a compound. So it is a pure substance.