It is possible to disable the 'n.d'/nodate behaviour either globally for all entry types or only for specific types with \DeclareLabeldate. The default definition
\DeclareLabeldate{%
\field{date}
\field{year}
\field{eventdate}
\field{origdate}
\field{urldate}
\literal{nodate}
}
writes 'n.d.' when none of the dates listed before is found. If you drop the \literal{nodate} from the definition, there won't be a 'n.d.'. In the MWE below the 'n.d.' is only dropped for @misc entries, all other types retain the default definition and therefore retain the 'n.d.' if no date is given (cf. the applebly @book).
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\DeclareLabeldate[misc]{%
\field{date}
\field{year}
\field{eventdate}
\field{origdate}
\field{urldate}
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{appleby,
author = {Humphrey Appleby},
title = {On the Importance of the Civil Service},
}
@misc{law,
title = {Law Act 1980},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,appleby,law}
\printbibliography
\end{document}

If you cite more legal documents, you may want to look into fleshing out the available types @legal, @legislation and @jurisdiction that are treated as aliases for @misc by the standard styles. See also What is best practice re. handling legal sources with Biblatex/Biber for disciplines other than law?.