No, RACF does not return the superior group names in a user-level profile selection environment.
RACF can use tiered levels of user groups called Superior Groups. For example: UserGroupC has a superior group of UserGroupB which has a superior user group of UserGroupA.
For dynamic or saved dynamic user signon, TPX checks the user's security access based upon the SMRT Security parameter Profile Selection:
A SECDEBG trace can be used to confirm which groups are returned to TPX from security during a user signon. SECDEBG was used to verify that Superior Groups are NOT returned to TPX for the user.
Programming Guide: Programming Profile Selection for Dynamic Users (TPX 5.4 wiki: Programming Guide - Profile Selection for Dynamic Users)