True. They have to be a 501(c)(3) for you to take the deduction.
Not just 501(c)(3). A foreign entity can be a 501(c)(3). and therefore exempt from income tax, but contributions to such entity may not be eligible for a deduction under IRC 170. IRC 170(c) provides:
" Charitable contribution defined
For purposes of this section, the term “charitable contribution” means a contribution or gift to or for the use of—
(1)A State, a possession of the United States, or any political subdivision of any of the foregoing, or the United States or the District of Columbia, but only if the contribution or gift is made for exclusively public purposes.
(2)A corporation, trust, or community chest, fund, or foundation—
(A)
created or organized in the United States or in any possession thereof, or under the law of the United States, any State, the District of Columbia, or any possession of the United States;
(B)organized and operated exclusively for religious, charitable, scientific, literary, or educational purposes, or to foster national or international amateur sports competition (but only if no part of its activities involve the provision of athletic facilities or equipment), or for the prevention of cruelty to children or animals;
(C)no part of the net earnings of which inures to the benefit of any private shareholder or individual; and
(D)which is not disqualified for tax exemption under section 501(c)(3) by reason of attempting to influence legislation, and which does not participate in, or intervene in (including the publishing or distributing of statements), any political campaign on behalf of (or in opposition to) any candidate for public office."