Loopic enables you to nest as many compositions as you want. In other words, you can import other compositions in composition of your choice.
To import any composition into current working composition, right click on the composition in the Resources panel and choose "Import composition". Now it is imported and it behaves as any other layer element.
If you will ever need to reference a specific composition within your working composition with custom action code, you will first need to assign imported composition unique dynamic id name. Once that is done, you can reference the composition the same way you would reference any other element.
Referencing imported composition's elements
For this purpose, we can use loopic.getElement method. Please read API documentation to find more about this method call.