This is a view in the mssqlsystemresource database. Returns a row for each node in the failover cluster instance configuration or an empty rowset if the server is not configured as in a failover cluster. This view will eventually replace the fn_virtualservernodes function which will be deprecated in a future release.
create view sys.dm_os_cluster_nodes
select * from OpenRowset(virtualservernodes)