If you want to make a formal complaint do so in writing. The agency likely has a specific form they want you to use.
A written complaint should be handled by internal affairs but won't necessarily result in the action you desire.
A verbal complaint in person or over the phone may never go beyond the peson you speak to.
If you think the police did something illegal you could speak with an attorney to weigh the situation and consider your options.