A chiasm is a literary structure where vocabulary of the first section of a passage is repeated in reverse order in the second. The center of the chiasm is typically the climax of the passage. In John 1:1 the center and climax is the Word was both with God and was God.