A standalone «هَذَا» has no assigned syntactic position until used in a sentence.
Most demonstratives are indeclinable and occupy nominative, accusative, or genitive positions. But هَذَانِ / هَذَيْنِ behave like the dual with visible alif/yāʾ case distinctions.