S.D. Codified Laws § 34-20A-87 (2026)
A person committed under this chapter may at any time seek to be discharged from commitment by writ of habeas corpus.
Source: SL 1974, ch 240 , § 12 (l).