The concept of "simply connected" really only makes sense for a path-connected space. That said, there are a few definitions that get thrown around, all of which are equivalent for path-connected spaces:
Definition 1 A simply connected space is a space in which every closed curve is homotopic to a point.
Definition 2 A simply connected space is a path-connected space in which every closed curve is homotopic to a point.
Definition 3 A simply connected space is a pointed space in which every path that starts and ends at the distinguished point is homotopic to a constant map via a homotopy through paths that all start and end at the distinguished point.
The definition used most often in algebraic topology (where this concept gets the most use) is Definition $3$, so I'd say this definition is the "correct" one. However, because the concept is so simple, in calculus or real analysis it's often cumbersome to have to introduce concepts like pointed space, so the definition is shortened to definition $1$ or $2$.
According to definition $1$, a disconnected space with simply connected components is simply connected. According to definition $2$, of course, it's not. According to definition $3$, the space has to have a distiguished point, and simple connectedness is determined solely by the path component containing that point. So under the actual definition, you could have one component be a violently non-simply-connected space like a Hawaiian earring, but as long as the component with the distinguished point is simply connected, the whole space is.
Allow me to reiterate that when we talk about simply connected spaces, in general we only want to worry about path-connected spaces, and the difference in all these definitions really boils down to how we want to handle the exceptions.