From my comments here: What the ‘Early Church Parents’ said about God’s gender | Catholic Herald:
What does the Church teach?
CCC 370 In no way is God in man's image. He is neither man nor woman. God is pure spirit in which there is no place for the difference between the sexes. But the respective "perfections" of man and woman reflect something of the infinite perfection of God: those of a mother and those of a father and husband.
"What the ‘Early Church Parents' said about God’s gender? This [words in-bold] is just foolish and adds to the confusion. To me, the confusion consistent with and a product of our sex-obsessed culture and influence by what Vatican termed as radical feminine themes. God has no gender as the article quotes St. Jerome.
What does Scripture say?
From the plain reading of Gn 1:7 (RSVCE)? - So God created man in his own image, in the image of God he created him; male and female he created them, and from Church teaching above, it appears that while God in neither male nor female and not in the image of man [no gender], he is Male AND Female [ and made man in this image], and the better question might have been what is the understanding of this, and why is it God chose to reveal himself in male terms. In summary, in relation to man, God, who alone is Father unlike any other father, is father and husband to man and Israel, and Jesus, the Bridegroom, the husband to the Church, his Mystical body and Bride.
From the revelation of the Son, that we should believe him that he is in the Father and the Father is in him [cf. Jn 14:11 (RSVCE)], within the Church there has come the understanding of Circuminsession the mutual immanence of the three distinct persons of the Holy Trinity. This is one of my understanding of God being Male & Female.
Endnote: I hope it does not escape readers that confusion regarding Trinity, the central mystery of the Christian faith and life, is at a time when there is widespread confusion about the nature of man himself [cf. gender ideology, radical feminism, "gay marriage", etc.].
The Father communicates his whole divine essence to the Son [without alienating it from himself]. Here the Father is giving and the Son receiving. The way I see it, within the Godhead, each Person of the Blessed Trinity receives from and gives to Godhead. The Father, Being [=Good], the Son [Truth], and the Spirit [Love/Spirit]. God generates the Son, they both breathe forth the Holy Spirit and ... that's why God is worshiped in Spirit and in Truth, what the Father, who is "the principle without principle", receives. In the Godhead, there is the eternal exchange among the persons of the Blessed Trinity.
The "Maleness" of the Spirit: For the Spirit searches everything, even the depths of God. [Cf. 1 Cor 2:10 (RSVCE)].