In any case, whether a misdemeanor or felony, a trial jury may be waived by the consent of the defendant and the state's attorney expressed in open court and entered on the minutes of the court. Otherwise, the issues of fact must be tried by the jury.
N.D.C.C. § 29-16-02