Jarrow MagMind is magnesium L-threonate, the only type of magnesium that crosses the blood-brain barrier. A quick google search said that some patients get relief from migraines by taking it.
If I thought a supplement was causing a problem I would stop taking it, wait a few days, then take it again to see if the same symptoms showed up.