The test for competency is whether the defendant ‘has a sufficient present ability to consult with his lawyer with a reasonable degree of rational understanding’ and ‘has a rational as well as factual understanding of the proceedings against him’,” wrote judge Richard Gergel.