"He shall present the animal before the priest and the priest shall evaluate it"—Leviticus 27:11-12.
If a person pledges to give a non-kosher animal [or a kosher animal not fit to be brought as a sacrifice] to G‑d, he must follow the law prescribed in the Torah.