def METHOD_NAME(sld, tld, nameservers):
    """
    Sets domain to use custom DNS servers.
    returns True if the custom nameservers were set successfully
    sld
        SLD of the domain name
    tld
        TLD of the domain name
    nameservers
        array of strings  List of nameservers to be associated with this domain
    CLI Example:
    .. code-block:: bash
        salt 'my-minion' namecheap_domains_dns.set_custom sld tld nameserver
    """
    opts = salt.utils.namecheap.get_opts("namecheap.domains.dns.setCustom")
    opts["SLD"] = sld
    opts["TLD"] = tld
    opts["Nameservers"] = ",".join(nameservers)
    response_xml = salt.utils.namecheap.post_request(opts)
    if response_xml is None:
        return False
    dnsresult = response_xml.getElementsByTagName("DomainDNSSetCustomResult")[0]
    return salt.utils.namecheap.string_to_value(dnsresult.getAttribute("Update"))