Dualism does not lead to gnosis.
Many of the verses in the gnostic gospels are pointing to that. Where it says when you change the male to female and vice versa. It is saying through uniting the duality, the one can be realised.
The union of opposites is the way (the hidden substance).