defense raised the issue of the accused’s competency to stand trial