As runexl suggested, your 3 composites need to be in brackets otherwise any element that meets the condition of the last 2 ORs will be included (first conditions OR any of the last ones).
Currently you are finding elements that meet these 3 criteria ... All Types and layer is not trash and composite is manufactured stone 1/2 ply OR any Composite that is 3" manufactured stone OR any composite that is gable end wall stone.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11