Since Blastoise doesn't learns Aura Sphere in Gen 5 but does in Gen 6 will Blastoise transfer to XY or not?
It depends. Have you tested if it worked? I've got Pokemon with illegal sets through pokebank and more. If you try to transfer it and can't pass it doesn't happens anything but try.
Source : experience