There is substantial evidence that the Apostle John did not borrow pagan ideas to formulate his idea of the LOGOS. Of course, we all know that the term LOGOS has a long history in Greek literature and was used in ancient writings to possibly describe an immutable and necessary rational ordering-principle (Heraclitus) or "the meaningful structure of reality as a whole and of the human mind in particular" (Paul Tillich, The Courage to Be, page 12).
Certain scholars have also wondered whether the word LOGOS denotes a primal cognate of the universe in Greek literature, while others point to Philo's LOGOS as somewhat of a locus classicus for John's LOGOS.
Despite the signifier's prolific use in Greek literature, however, it appears that John's
deployment of the term is firmly rooted in ideas from the Tanakh:
"While the term is Greek, the roots of the Johannine meaning seem to be more in Jewish-Hebrew soil" (Gerald Borchert, John 1-11, page 104). Cf. Ps. 33:6; Prov. 8:22-35.
"This word [LOGOS] was used by many ancient philosophies, but we must not import their meanings into this passage. John gives the LOGOS its own meaning; the standpoint is that of the Old Testament" (AT Robertson, Word Pictures in the New Testament, page 185).