Does Jesus literally mean He never knew the sinners, even those who called upon Him? God is all-knowing but does this verse mean by His own Divine mystery He only knows some of His children - those baptized into Christ with water and Spirit AND live His teachings (do good works in His Name, charity, and live the Faith)?
Would this explain why many Catholics ask Blessed Mary to intercede for them, and their prayers are answered because she knows us, and her Son will do what she asks of Him, if for His greater glory and to show that He is real), but in the end, same Catholics will perish for eternity because, ultimately, they were wicked, hence, Jesus Christ never knew these people? Would this explain the meaning of the names written in the Book of Life mentioned in Revelation? God only knows those souls who are written in that Book?
A couple of speculations on your questions:
God knows the deepest intricacies of every soul; for He is the Judge of every soul. He is omniscient, wise, all-seeing.
The Lord beholdeth the heart. 1 Sam 16:7.
I am the Lord who search the heart and prove the reins: who give to every one according to his way, and according to the fruit of his devices. Jeremias 17:10.
For the word of God is living and effectual, and more piercing than any two edged sword; and reaching unto the division of the soul and the spirit, of the joints also and the marrow, and is a discerner of the thoughts and intents of the heart. Neither is there any creature invisible in his sight: but all things are naked and open to his eyes. Hebrews 4:12-13
I think we may make distinctions when pondering the words of our Lord in Matthew’s Gospel, in light of your query.
“And then will I profess unto them, I never knew you: depart from me, you that work iniquity.” One distinction is that between the natural and the supernatural orders, between the regenerate and the unregenerate. This quality of God, as all-seeing and all-knowing Judge of all men, can be logically reduced to His attribute of omniscience, omitting the aspect of the subjective reality of each soul’s standing – though His omniscience certainly does also pertain to subjective standing.
Another distinction is to be made among the regenerate, the line being drawn to separate the Elect from the Reprobate, the soul in the state of grace from the soul in mortal sin, the sheep from the goat. This becomes more of a subjective standard, and, I suppose, closer to our Lord’s meaning in Matthew 7.
To be known by Jesus Christ, according to His meaning in Matthew 7, seems to me to have to do with the quality of a soul in the state of sanctifying grace. This soul will possess all the infused virtues and gifts in varying degrees, and in varying states of act. This soul may not be perfect, but God dwells in it. And it is this indwelling Presence of God which is the basis and foundation of Christ’s knowledge of that soul. For this knowledge is blessedness, is Divine Faith and Charity, is the beginning and pledge of Eternal Life. It is a living thing, which actually belongs to Christ as much as to the soul. It is the Life of Christ animating the soul, and elevating it above nature. Christ knows this soul the way a man knows the members of his own body.
I think St. Paul is getting at it when he proclaims:
And I live, now not I; but Christ liveth in me. And that I live now in the flesh: I live in the faith of the Son of God, who loved me, and delivered himself for me. Galatians 2:20
If we are known by Christ, we are not alone in our souls. We are united to God in an inarticulable and incomprehensible, but absolutely real manner.
Thus it boils down to the question of being in the state of grace; and not the question of regeneration. For one can sin after Baptism, and go to hell.
There are many spiritual writers who also describe a particular vision of the Almighty, wherein He can see inside the souls of His children, Christ, His Son, and Mary, His Beloved. Sanctifying grace begets a similitude to God, and it is this similitude which attracts God. For this similitude is no superficial likeness. It is a real and proper union of the soul with God, so that the soul is no longer entirely distinct from God.
We ask our Lady to intercede for us because one, She has a special mission in the Church. She is the Mediatrix of All Graces, and the New Eve, the true “Mother of the Living.” See Genesis 3. Christ gave Her to all men, to be their Mother and Queen, if only they would have Her. This mission of Hers is a formal and objective reality – a Divine ordinance.
And two, subjectively speaking, no other creature is more united to God, more intimate with God, or more pleasing to God. Thus, by virtue of that quality, no one has His ear as does this Lady. Wherefore it is a very wise and prudent thing to ask Her to intercede for you; but be sure you ask aright. :)