Depends on what your macro looks like, but in it's simplest form:

/stopmacro [channeling]

at the begining of your macro will keep it from interupting mind flay.

You could Also do:

/castsequence [nochanneling] Spell, spell, spell, etc