In the course of a criminal trial the court shall not require, request, or suggest that the defendant submit to a polygraphic detection deception test, commonly known as a lie detector test, to questioning under the effect of thiopental sodium, or to any other test or questioning by means of a mechanical device or chemical substance.
725 ILCS 5/115-19