It slipped my mind = I forgot about it, at least momentarily. I lost my train of thought = I became distracted and can't remember what I was going to say. They are not interchangeable.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.