John Cowell is accused of stabbing Wilson to death on the MacArthur BART platform last July.
RELATED: Nia Wilson's family frustrated by another delay in John Cowell case
The judge reviewed reports of three doctors; one believed Cowell lacked competency, another did not render a decision and the third found him to be competent.
The suspect is scheduled to be in court on August 2 to enter a plea.
See more stories and videos on the Nia Wilson case.