From both passages of Scripture one learns that biblical unity requires a singleness or a oneness. Both passages place Jesus Christ at the center of this desired unity. In both references, unity depends on revelation of God's will to man. The apostle Paul taught the Ephesian church that unity is dependent on revelation or what the Gospel teaches. Rejection of any New Testament teaching destroys the possibility for religious unity.
True unity is a distinguishing trait of the New Testament church.
This unity results from agreement on and practice of the Gospel alone. There is no basis for unity where something less than, additional to or instead of the New Testament or Gospel is believed. Jesus did not pray for denominations with their differing names and creeds which cause religious division. Jesus prayed for unity based upon the Gospel which God revealed and which men are required to believe and practice.