When an offense is committed in this state on board a boat or vessel navigating or lying in a river, lake, or canal, in the prosecution of the voyage, the jurisdiction is in any county through which the vessel is navigated in the course of the voyage, or in the county where the voyage terminates.
N.D.C.C. § 29-03-06