Actually, this wikipedia article for has got a specific section about that https://en.wikipedia.org/wiki/Material_conditional
Edit: I also just learned abou the 'Wason selection task' from that link. Cool stuff. https://en.wikipedia.org/wiki/Wason_selection_task
"if and only if" is "p->q and q->p" (also equivalent to "p->q and not(p)->not(q), the more intuitive sense of the phrase), it basically establishes equivalence: any proof that requires p also requires q and vice versa, any proof that guarantees p also guarantees q and vice versa.
"B if A" or "If A, then B" interpreted as
A -> B
The fallacy would then be to do the following
A -> B
B
------------
A
On the other hand, iff is interpreted as A <=> B
i.e. A -> B and B -> A
So you can get A or B if you have B or A respectively.