An Iowa church that used a federally illegal psychedelic in its rites was correctly denied tax-exempt status by the Internal Revenue Service and a district court, the federal government told the D.C. Circuit on Friday, saying the church was organized and operated primarily for a nonexempt, illegal purpose.