Take your pick. com lists "whether" as a synonym for the selecting between alternatives meaning of "if". Of course, "if or not" doesn't make sense so you'd have to use "whether" if you want to use the "or not".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.