At any time prior to pleading to the indictment, the person against whom an indictment has been found and presented may move the court to dismiss the indictment upon the ground that the jurors were not selected or impaneled according to law.
N.D.C.C. § 29-10.1-10