Videos circulating online appear to show helicopters firing streams of bullets toward the ground in Guasave. The footage has not been independently verified.
Eight people were arrested in total, the secretariat said. They included Meza Flores's second-in-command, who is also his cousin, and his brother-in-law, described as the group's financial operator.
The arrest matters because US prosecutors allege he helped move large quantities of drugs toward the American market for more than a decade.
He is alleged to have conspired to manufacture and distribute cocaine, heroin, methamphetamine and marijuana between 2005 and 2019.
Authorities said they seized multiple weapons during the operation, including a grenade launcher, as well as drugs and cash.
The secretariat said the four soldiers who died were travelling to reinforce security in Guasave when they were killed. It did not give further details of how they died.