So God created man in his own image, in the image of God created he him; male and female created he them. KJV 1:27
Is there any truth that Lilith was Adam's first wife?
Was Adam created as complete man containing both male and female?
Rashi's comment here is:
The rabbis here only refer to two faces; they don't talk about organs. (But then, the rabbis tend to only talk about delicate subjects if there is a need, and perhaps they see talking about the two faces as sufficient in this case.) The implication of this verse, supported by Rashi and the sources he brings, is that all the "raw ingredients" were present in the being created in 1:27 and they were later divided into two beings.
As for Lilith, as noted in the Wikipedia article linked in the question, Lilith begins to emerge as a candidate first wife for Adam in the 8th-10th century CE, which is hundreds of years after the talmudic discussions of a demon (not person) named Lilith. Lilith as first wife is a late legend but does not seem authoritative.
Please note: This answer was written for a neutral, academic audience and is not intended to be interpreted in the context of a religious belief or doctrine.
Since Jesus is the express image of God, and he is male, when that which is female was removed from Adam, it did not diminish what was originally in him. This is why , when Eve sinned, sin did not come into the world. Another Eve could be produced from Adam. But when Adam sinned, the full image of God was tainted.
Paul says that when he speaks of marriage (becoming one flesh) that he is speaking of Christ and the church. So Adam and Eve represent Christ and the church.
Christ is the express image of God, and the Church is made to be like him.
In Genesis, God said he would make man in his image and likeness, then it only says he made them in his image. He does not complete making them in his likeness until Ge 5.1 after a lengthy narrative which has a hidden picture of Christ and the cross bringing forth a bride.
So it erroneous to presume that image and likeness are redundant terms. Christ, the man, is made in the express image of God. The woman, the church, is make to be like him.
Likeness is a subset of express image, and Christ possess both, but the bride only possess the likeness.
Lilith appearing first as a demon within Jewish folklore (probably adopted from Sumerian sources) morphs into a human woman around 800-1000 AD in the Alphabet ben Sira. Medieval rabbis greatly developed the myth in the Zohar in an attempt to reconcile what they considered contradictory stories of creation. Since the Bible cannot contradict itself, they reasoned, there must have been two women created. The first, Lilith, was an equal to Adam, and the second taken from his side.
The alleged contradiction disappears when Genesis is properly divided by chapter between verse 2.5 and 6.
The word generations is towladah meaning record. It refers to the text preceding, not following as evidenced in pre-Babylonian tablets.
With the chapter division properly placed, it is evident that the second story does not contradict the order or creation, since the verbiage that would indicate a contradiction belongs in Chapter 1.
Verses 4 and 5 are a "closing parenthesis" on the first verses of Gen 1. Which is why the contents of the chapter is ignored. The heavens and the earth were created before the plants and man. It is a linguistic method for closing a chapter. Without the verbiage excluding plants and man, one might mistake the verses of Day 4 being the opening parenthesis. The next division repeats the subject matter of the last chapter by way of a hint: the water and the ground are mentioned in the last verse of the end, and in the first verse of the next chapter.
The way in which the creation story is being referenced is different, therefore there is no contradiction, and no reason to invent a second wife for Adam.
Jesus taught that there was one man and one woman who became one flesh. Not one man and two women. The rabbis did not have the benefit of this teaching when they invented Lilith.
When there are two things, one is a heavenly and one is an earthly representation of the same thing.
Genesis 1 is the heavenly view of creation, as viewed by God. Gen 2ff is the view from Adam's perspective. The way that creation is viewed is different. There is no contradiction.
The word for rib also means side. Genetically, the human male has the XY chromosome pair, where the woman has XX. The woman was produced by taking one side of the male. The primitive rendition of Gen 2.21 is scientifically and theologically accurate. The male remained male, while the female was made to be something else (and how!) in his likeness.
Since Adam lost nothing when Eve was taken from his side, then he was male in the same way that men today are male, and there is no reason to presume that his genitalia was any different from men today.