If you loop something such as a piece of rope around an object, you tie a length of it in a loop around the object, for example in order to fasten it to the object.
If someone is in the loop, they are part of a group of people who make decisions about important things, or they know about these decisions. If they are out of the loop, they do not make or know about important decisions.