Is the '0V' on a non-isolated buck converter the same on the input as it is on the output?
According to the comments the ground is probably the same if some constraints are satisfied:


Non-isolated buck converter
Buck converter without current regulation, current regulated converters have a shunt at the ground line changing the voltage
Buck-boost converters have a negative (afaik)  'ground' voltage and thus are not usable