So I did a quick search on Thomas Nast and found an Entry in Brittanica online and found out he published in Harper's Weekly. Now onto the actual question.
New Yorker from July 21, 2008. See Huffington Post article, Yikes! Controversial New Yorker Cover Shows Muslim, Flag-Burning, Osama-Loving, Fist-Bumping Obama